#ifndef TOKEN_H
#define TOKEN_H

#include "HistoryManager.h"
#include <QObject>

class EventDispatcher;

class Event
{
public:
	int UID;
	EventDispatcher* owner;
};

class EventDispatcher
{
public:

	EventDispatcher(){};
	~EventDispatcher(){};

	void dispatchEvent(Event* _event)
	{
		HistoryManager::instance()->addHistoryEvent(_event);
	};

	virtual void reverseEvent(Event*){};
};

#endif